package com.weiyuanstudio.nextstep.enums;

public enum TaskStatus {
    CREATED("Created"),
    RUNNING("Running"),
    COMPLETED("Completed"),
    FAILED("Failed"),
    PAUSED("Paused"),
    CANCELED("Canceled");

    private final String description;

    TaskStatus(String description) {
        this.description = description;
    }

    public String getDescription() {
        return description;
    }
}
